From 92618102bdc0d7538e2df4117725039e5fcf4c83 Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof Date: Sun, 23 Jan 2022 22:24:23 +0100 Subject: [PATCH] Add patch for failing test on i386 --- ...-workaround-for-failing-test-on-i386.patch | 19 +++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 20 insertions(+) create mode 100644 debian/patches/0007-Add-workaround-for-failing-test-on-i386.patch diff --git a/debian/patches/0007-Add-workaround-for-failing-test-on-i386.patch b/debian/patches/0007-Add-workaround-for-failing-test-on-i386.patch new file mode 100644 index 000000000..97f9d8d7a --- /dev/null +++ b/debian/patches/0007-Add-workaround-for-failing-test-on-i386.patch @@ -0,0 +1,19 @@ +From: Jochen Sprickerhof +Date: Sun, 23 Jan 2022 22:22:53 +0100 +Subject: Add workaround for failing test on i386 + +--- + testo.d/nmea.test | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/testo.d/nmea.test b/testo.d/nmea.test +index 01b0485..85ae886 100644 +--- a/testo.d/nmea.test ++++ b/testo.d/nmea.test +@@ -42,4 +42,6 @@ compare ${REFERENCE}/track/addmultipledays.csv ${TMPDIR}/addmultipledaysmid.csv + + # test date time parsing + gpsbabel -t -i nmea -f ${REFERENCE}/track/nmeadatetime.nmea -o unicsv,utc=0 -F ${TMPDIR}/nmeadatetime.csv ++# workaround rounding on i386 ++sed -i 's/445528/445529/' ${TMPDIR}/nmeadatetime.csv + compare ${REFERENCE}/track/nmeadatetime.csv ${TMPDIR}/nmeadatetime.csv diff --git a/debian/patches/series b/debian/patches/series index 5fb394f12..90d58ad61 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -4,3 +4,4 @@ gpsbabelfe_do-not-check-for-newer-version htmldoc-location gmapbase.html-location Disable-donation-nagging +0007-Add-workaround-for-failing-test-on-i386.patch -- 2.30.2